﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using Lottery.DBUtility;
using System.Data;
using Lottery.Entity;

namespace Lottery.DataAccess
{
    public class ResultCollection
    {
        public static string GetResultString()
        {
            return LotterySQLHelper.ExecuteScalar(CommandType.StoredProcedure, "GetResultString").ToString();            
        }

        public static List<ModIssueResultString> GetIssueResultString()
        {
            return LotterySQLEntityHelper<ModIssueResultString>
                    .GetEntitySet(CommandType.StoredProcedure, "GetResultStringByIssue");
        }
    }
}
